package com.liu.qqRobot.wm.job;

import com.liu.qqRobot.wm.service.WmrlService;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class WmrlJob {

    @Resource
    private WmrlService wmrlService;

//    @Scheduled(cron = "0 0/1 * * * ?")
    public void syncItem() {
        log.info("开始根据监听任务查询Warframe.market中的紫卡交易");
        wmrlService.listening();
        log.info("结束根据监听任务查询Warframe.market中的紫卡交易");
    }
}
